package cn.ecut.dao;

import checkers.igj.quals.I;
import checkers.units.quals.A;
import cn.ecut.model.Alumni;
import cn.ecut.model.Student;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AlumniDao {
    int addAlumni(Alumni alumni);
    List<Alumni> selectAllAlumniByPage(@Param("offset")int offset, @Param("num")int num);
    Integer selectAllcount();
    Integer uodataalumni(Alumni alumni);
    Integer slectCountByphone(String phone);
    Integer slectCountBymail(String mail);
    Integer deleteAlumni(Integer aid);
    List<Alumni> advanceSelect(@Param("s") String s, @Param("offset")int offset, @Param("num")int num);
    int advanceSelectCount(String s);
}
